package com.bwda.dsrs.filecenter.domain.form.fileapply;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author yangjun
 * @date 2019/4/9
 */
@Data
public class FileApplyAuditForm {
    /**
     * 申请ID
     */
    @ApiModelProperty(value = "申请id")
    @NotNull(message = "申请id不能为空")
    private Integer id;

    @ApiModelProperty(value = "审核状态,0申请中1通过2拒绝")
    @NotNull(message = "审核状态不能为空")
    @Min(value = 1, message = "审核状态不符合要求")
    @Max(value = 2, message = "审核状态不符合要求")
    private Integer applyState;

    @ApiModelProperty(value = "备注")
    private String remark;
}
